package com.mmp.common.bo;

public class Message {
	protected String text;
	protected MESSAGE_TYPE type;

	public Message(String text, MESSAGE_TYPE type) {
		this.text = text;
		this.type = type;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getText() {
		return text;
	}

	public void setType(Message.MESSAGE_TYPE type) {
		this.type = type;
	}

	public Message.MESSAGE_TYPE getType() {
		return type;
	}

	public enum MESSAGE_TYPE {
		ERROR, WARNING, SUCCESS;
	}
}
